package com.ruoyi.produce.process.worksheet.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * 加工单产线分配表
 * produce_work_sheet_allocation
 * @author Drj 2021/6/28
 */
public class ProduceWorkSheetAllocation extends BaseEntity {
    /**
     * 加工单编号
     */
    @NotNull(message = "加工单编号不能为空")
    @ApiModelProperty(value = "加工单编号", required = true)
    private String workSheetId;
    /**
     * 产线编号（自增）
     */
    @ApiModelProperty(value = "产线编号")
    private int productionLineId;

    /**
     * 产线名称
     */
    @ApiModelProperty("产线名称")
    private String productionLineName;
    /**
     * 序号
     */
    private int allocationNum;
    /**
     * 分配时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp allocationTime;
    /**
     * 备注
     */
    private String remark;

    public String getWorkSheetId() {
        return workSheetId;
    }

    public void setWorkSheetId(String workSheetId) {
        this.workSheetId = workSheetId;
    }

    public int getProductionLineId() {
        return productionLineId;
    }

    public void setProductionLineId(int productionLineId) {
        this.productionLineId = productionLineId;
    }

    public String getProductionLineName() {
        return productionLineName;
    }

    public void setProductionLineName(String productionLineName) {
        this.productionLineName = productionLineName;
    }

    public int getAllocationNum() {
        return allocationNum;
    }

    public void setAllocationNum(int allocationNum) {
        this.allocationNum = allocationNum;
    }

    public Timestamp getAllocationTime() {
        return allocationTime;
    }

    public void setAllocationTime(Timestamp allocationTime) {
        this.allocationTime = allocationTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
